package io.renren.modules.substation.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.renren.modules.substation.controller.TInfoBackupConfigController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Date;
import java.util.List;

public class TBusiDevStatusShowInfo extends  PageSortInfo  {

    private static Logger logger = LoggerFactory.getLogger(TInfoBackupConfigController.class);

    /**
     * 记录号
     */
    @TableId
    private Long id;
    /**
     * 设备编号
     */
    private String devCode;
    /**
     * 设备当前状态:0-离线;1-在线
     */
    private String devStatus;
    /**
     * 设备告警状态:0-正常;1-报警
     */
    private String isAlarm;
    /**
     * 设备启用状态:0-停用;1-启用
     */
    private String isVaild;
    /**
     * 创建人
     */
    private Long createOpr;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新人
     */
    private Long lastOpr;
    /**
     * 更新时间
     */
    private Date lastTime;


    private String baseInfo;

    private String devName;

    private String devType;

    private String devArea;

    private String devAreaName;

    /**
     * 设备地址
     */
    private String ipAddr;

    private String devInstallAddr;

    private String devAddr;

    //动力信息
    private String waterLevel;

    private String waterLevelStatus;

    private String smokeStatus;

    private String infraredStatus;

    private String lightStatus;


    private String devAreaflag;

    //环境量表头
    private List<SelectItemInfo> headList;
    private List<SelectItemInfo> headValueList;
    private List<SelectItemInfo> devPeVarList;//变量列表
    private List<SelectItemInfo> errList;//报警变量列表


    private int environmentCount;
    private List<TBusiDevMonitorInfoEntity> environmentList;
    private List<EnvironmentInfo> environmentStringList;
    private List<String> environmentStrList;
    private String environmentStr;
    private String environmentStr1;
    private String environmentStr2;
    private String environmentStr3;
    private String environmentStr4;

    //局放
    private String pdInfo;
    private String infraredInfo;
    private String picturesInfo;
    private String noiseInfo;
    private String temperatureAndHumidityInfo;

    private String pdInfoPic1;
    private String pdInfoPic2;
    private String infraredInfoPic1;
    private String infraredInfoPic2;
    private String picturesInfoPic1;
    private String picturesInfoPic2;
    private String picturesInfoPic3;

    private String pdInfoPRPSPic;
    private String pdInfoPRPDPic;
    private String infraredInfoPic;
    private String picturesInfoPic;
    private String noiseInfoPic;


    private PartialDischargeInfo partialDischargeInfo;

    public List<SelectItemInfo> getHeadValueList() {
        return headValueList;
    }

    public void setHeadValueList(List<SelectItemInfo> headValueList) {
        this.headValueList = headValueList;
    }

    public String getBaseInfo() {
        return baseInfo;
    }

    public void setBaseInfo(String baseInfo) {
        this.baseInfo = baseInfo;
    }

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName;
    }

    public String getWaterLevel() {
        return waterLevel;
    }

    public void setWaterLevel(String waterLevel) {
        this.waterLevel = waterLevel;
    }

    public String getSmokeStatus() {
        return smokeStatus;
    }

    public void setSmokeStatus(String smokeStatus) {
        this.smokeStatus = smokeStatus;
    }

    public String getInfraredStatus() {
        return infraredStatus;
    }

    public void setInfraredStatus(String infraredStatus) {
        this.infraredStatus = infraredStatus;
    }

    public String getLightStatus() {
        return lightStatus;
    }

    public void setLightStatus(String lightStatus) {
        this.lightStatus = lightStatus;
    }

    public String getDevType() {
        return devType;
    }

    public void setDevType(String devType) {
        this.devType = devType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDevCode() {
        return devCode;
    }

    public void setDevCode(String devCode) {
        this.devCode = devCode;
    }

    public String getDevStatus() {
        return devStatus;
    }

    public void setDevStatus(String devStatus) {
        this.devStatus = devStatus;
    }

    public String getIsAlarm() {
        return isAlarm;
    }

    public void setIsAlarm(String isAlarm) {
        this.isAlarm = isAlarm;
    }

    public String getIsVaild() {
        return isVaild;
    }

    public void setIsVaild(String isVaild) {
        this.isVaild = isVaild;
    }

    public Long getCreateOpr() {
        return createOpr;
    }

    public void setCreateOpr(Long createOpr) {
        this.createOpr = createOpr;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastOpr() {
        return lastOpr;
    }

    public void setLastOpr(Long lastOpr) {
        this.lastOpr = lastOpr;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public TBusiDevStatusShowInfo() {
    }
    public TBusiDevStatusShowInfo(TBusiDevStatusInfoEntity tBusiDevStatusInfo) {

        this.setId(tBusiDevStatusInfo.getId());
        this.setDevCode(tBusiDevStatusInfo.getDevCode());
        this.setDevStatus(tBusiDevStatusInfo.getDevStatus());
        this.setIsVaild(tBusiDevStatusInfo.getIsVaild());
        this.setIsAlarm(tBusiDevStatusInfo.getIsAlarm());

    }

    public List<TBusiDevMonitorInfoEntity> getEnvironmentList() {
        return environmentList;
    }

    public void setEnvironmentList(List<TBusiDevMonitorInfoEntity> environmentList) {
        this.environmentList = environmentList;
    }

    public List<SelectItemInfo> getHeadList() {
        return headList;
    }

    public void setHeadList(List<SelectItemInfo> headList) {
        this.headList = headList;
    }

    public int getEnvironmentCount() {
        return environmentCount;
    }

    public void setEnvironmentCount(int environmentCount) {
        this.environmentCount = environmentCount;
    }

    public String getWaterLevelStatus() {
        return waterLevelStatus;
    }

    public void setWaterLevelStatus(String waterLevelStatus) {
        this.waterLevelStatus = waterLevelStatus;
    }

    public List<EnvironmentInfo> getEnvironmentStringList() {
        return environmentStringList;
    }

    public void setEnvironmentStringList(List<EnvironmentInfo> environmentStringList) {
        this.environmentStringList = environmentStringList;
    }

    public PartialDischargeInfo getPartialDischargeInfo() {
        return partialDischargeInfo;
    }

    public void setPartialDischargeInfo(PartialDischargeInfo partialDischargeInfo) {
        this.partialDischargeInfo = partialDischargeInfo;
    }

    public String getPdInfo() {
        return pdInfo;
    }

    public void setPdInfo(String pdInfo) {
        this.pdInfo = pdInfo;
    }

    public String getInfraredInfo() {
        return infraredInfo;
    }

    public void setInfraredInfo(String infraredInfo) {
        this.infraredInfo = infraredInfo;
    }

    public String getPicturesInfo() {
        return picturesInfo;
    }

    public void setPicturesInfo(String picturesInfo) {
        this.picturesInfo = picturesInfo;
    }

    public String getNoiseInfo() {
        return noiseInfo;
    }

    public void setNoiseInfo(String noiseInfo) {
        this.noiseInfo = noiseInfo;
    }

    public String getTemperatureAndHumidityInfo() {
        return temperatureAndHumidityInfo;
    }

    public void setTemperatureAndHumidityInfo(String temperatureAndHumidityInfo) {
        this.temperatureAndHumidityInfo = temperatureAndHumidityInfo;
    }

    public void initPartialDischargeInfo() {
        this.temperatureAndHumidityInfo=getPartialDischargeInfo().getTemperatureAndHumidityInfo();
        this.noiseInfo=getPartialDischargeInfo().getNoiseInfo();
        this.pdInfo=getPartialDischargeInfo().getPdInfo();
        this.infraredInfo=getPartialDischargeInfo().getInfraredInfo();
        this.picturesInfo=getPartialDischargeInfo().getPicturesInfo();
//        String path=""; // /assets/
        setPdInfoPic1(getPartialDischargeInfo().getPdInfoPic1());
        setPdInfoPic2(getPartialDischargeInfo().getPdInfoPic2());
        setPicturesInfoPic1(getPartialDischargeInfo().getPicturesInfoPic1());
        setPicturesInfoPic2(getPartialDischargeInfo().getPicturesInfoPic2());
        setPicturesInfoPic3(getPartialDischargeInfo().getPicturesInfoPic3());
        setInfraredInfoPic1(getPartialDischargeInfo().getInfraredInfoPic1());
        setInfraredInfoPic2(getPartialDischargeInfo().getInfraredInfoPic2());
        logger.debug(this.pdInfoPic1);
        logger.debug(this.pdInfoPic2);
        logger.debug(this.picturesInfoPic1);
        logger.debug(this.picturesInfoPic2);
        logger.debug(this.picturesInfoPic3);
        logger.debug(this.infraredInfoPic1);
        logger.debug(this.infraredInfoPic2);

    }

    public String getPdInfoPic1() {
        return pdInfoPic1;
    }

    public void setPdInfoPic1(String pdInfoPic1) {
        this.pdInfoPic1 = pdInfoPic1;
    }

    public String getPdInfoPic2() {
        return pdInfoPic2;
    }

    public void setPdInfoPic2(String pdInfoPic2) {
        this.pdInfoPic2 = pdInfoPic2;
    }


    public String getPicturesInfoPic1() {
        return picturesInfoPic1;
    }

    public void setPicturesInfoPic1(String picturesInfoPic1) {
        this.picturesInfoPic1 = picturesInfoPic1;
    }

    public String getPicturesInfoPic2() {
        return picturesInfoPic2;
    }

    public void setPicturesInfoPic2(String picturesInfoPic2) {
        this.picturesInfoPic2 = picturesInfoPic2;
    }

    public String getPicturesInfoPic3() {
        return picturesInfoPic3;
    }

    public void setPicturesInfoPic3(String picturesInfoPic3) {
        this.picturesInfoPic3 = picturesInfoPic3;
    }

    public String getInfraredInfoPic1() {
        return infraredInfoPic1;
    }

    public void setInfraredInfoPic1(String infraredInfoPic1) {
        this.infraredInfoPic1 = infraredInfoPic1;
    }

    public String getInfraredInfoPic2() {
        return infraredInfoPic2;
    }

    public void setInfraredInfoPic2(String infraredInfoPic2) {
        this.infraredInfoPic2 = infraredInfoPic2;
    }

    public String getIpAddr() {
        return ipAddr;
    }

    public void setIpAddr(String ipAddr) {
        this.ipAddr = ipAddr;
    }

    public String getDevInstallAddr() {
        return devInstallAddr;
    }

    public void setDevInstallAddr(String devInstallAddr) {
        this.devInstallAddr = devInstallAddr;
    }

    public String getDevAddr() {
        return devAddr;
    }

    public void setDevAddr(String devAddr) {
        this.devAddr = devAddr;
    }

    public String getDevArea() {
        return devArea;
    }

    public void setDevArea(String devArea) {
        this.devArea = devArea;
    }

    public String getDevAreaName() {
        return devAreaName;
    }

    public void setDevAreaName(String devAreaName) {
        this.devAreaName = devAreaName;
    }

    public String getDevAreaflag() {
        return devAreaflag;
    }

    public void setDevAreaflag(String devAreaflag) {
        this.devAreaflag = devAreaflag;
    }

    public String getEnvironmentStr() {
        return environmentStr;
    }

    public void setEnvironmentStr(String environmentStr) {
        this.environmentStr = environmentStr;
    }

    public List<String> getEnvironmentStrList() {
        return environmentStrList;
    }

    public void setEnvironmentStrList(List<String> environmentStrList) {
        this.environmentStrList = environmentStrList;
    }

    public String getPdInfoPRPSPic() {
        return pdInfoPRPSPic;
    }

    public void setPdInfoPRPSPic(String pdInfoPRPSPic) {
        this.pdInfoPRPSPic = pdInfoPRPSPic;
    }

    public String getPdInfoPRPDPic() {
        return pdInfoPRPDPic;
    }

    public void setPdInfoPRPDPic(String pdInfoPRPDPic) {
        this.pdInfoPRPDPic = pdInfoPRPDPic;
    }

    public String getInfraredInfoPic() {
        return infraredInfoPic;
    }

    public void setInfraredInfoPic(String infraredInfoPic) {
        this.infraredInfoPic = infraredInfoPic;
    }

    public String getPicturesInfoPic() {
        return picturesInfoPic;
    }

    public void setPicturesInfoPic(String picturesInfoPic) {
        this.picturesInfoPic = picturesInfoPic;
    }

    public String getNoiseInfoPic() {
        return noiseInfoPic;
    }

    public void setNoiseInfoPic(String noiseInfoPic) {
        this.noiseInfoPic = noiseInfoPic;
    }

    public List<SelectItemInfo> getDevPeVarList() {
        return devPeVarList;
    }

    public void setDevPeVarList(List<SelectItemInfo> devPeVarList) {
        this.devPeVarList = devPeVarList;
    }

    public List<SelectItemInfo> getErrList() {
        return errList;
    }

    public void setErrList(List<SelectItemInfo> errList) {
        this.errList = errList;
    }
}
